package com.ruoyi.article.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章管理对象 t_article
 * 
 * @author zzzyh
 * @date 2025-06-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 帖子id */
    @Excel(name = "帖子id")
    private Long id;

    /** 发帖人 */
    @Excel(name = "发帖人")
    private Long userId;

    /** 帖子标题 */
    @Excel(name = "帖子标题")
    private String title;

    /** 帖子正文 */
    @Excel(name = "帖子正文")
    private String content;

    /** 访问量 */
    @Excel(name = "访问量")
    private Long visitCount;

    /** 回复数 */
    @Excel(name = "回复数")
    private Long replyCount;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeCount;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    private String username;
}
